package cn.edu.sjtu.se.dslab.DAO.achieve;

import cn.edu.sjtu.se.dslab.DAO.IBaseDAO;
import cn.edu.sjtu.se.dslab.DAO.IDesignPatternDAO;
import cn.edu.sjtu.se.dslab.component.design.DesignPattern;
import cn.edu.sjtu.se.dslab.exception.DBException;

public class DesignPatternDAOAchieve extends BaseDAOAchieve implements IDesignPatternDAO {
	
	private IBaseDAO<DesignPattern> baseDao;

	@Override
	public void save(DesignPattern designPattern) throws DBException{
		baseDao.save(designPattern);
	}

	@Override
	public DesignPattern update(DesignPattern designPattern) throws DBException{
		return null;
	}

	@Override
	public DesignPattern query(long id) throws DBException{
		return null;
	}

}
